package com.gec.util;

import java.util.UUID;

public class UploadUtil {
	public static String newFileName(String old) {
		String ext = old.substring(old.lastIndexOf("."));//获取最后一个点之后的名字就是后缀名
		String new_name = UUID.randomUUID().toString()+ext;
		return new_name;

		
	}
}
